<style>
.da{ text-align:center; width:100%;}
#tableid{ font-size:13px;}
#tableid .fg{ background-color:#e9e9e9;}
#tableid input{ font-size:13px;}
#flagRow th{ text-align:center; font-size:12px;}
</style>
<div class="widget-body" style="position:relative; background-color:#FFF;padding:0px;">
        <div class="am-u-sm-12">
            <table class="am-table am-table-bordered am-table-compact am-table-hover" id="tableid">
              <thead>
                <tr id="flagRow" style="width:100%; background-color:#FFF;">
                    <th style="white-space:nowrap;">屈/散</th>
                    {{ range .Astigmatism }}
                    <th>{{.}}</th>
                    {{end}}
                </tr>
              </thead>
              <tbody>
              {{ range $k,$v := .Diopter }}
              <tr>
                <td>{{.}}</td>
                {{range $ck,$cv := $.Astigmatism}}
                <td style="text-align:center" class="nowtd" title="屈：{{$v}} / 散：{{$cv}}">
                    <input type="text" class="da diopter_astigmatism" name="diopter_astigmatism_{{$v}}_{{$cv}}" diopter="{{$v}}" astigmatism="{{$cv}}" onkeyup="this.value=this.value.replace(/[^\-?\d.]/g,'')" onafterpaste="this.value=this.value.replace(/[^\-?\d.]/g,'')">
                </td>
                {{end}}
              </tr>
              {{end}}
              </tbody>
            </table>
    </div>
    <div style="height:120px;"></div>
    <div style="position:fixed; width:100%; left:0px; bottom:0px; border-top:1px solid #999; padding:10px; background-color:#FFF;">
    	<div class="row">
        	<div class="am-u-sm-2">
                <button type="button" class="am-btn am-btn-primary" id="determine">确定选择</button>
                <button type="button" class="am-btn am-btn-default" id="closeWin">取消</button>
            </div>
            <div class="am-u-sm-10">
                 <label class="am-form-label">屈光度：</label>
                  <label class="am-radio-inline">
                    <input type="radio" name="diopter" value="0" checked> -
                  </label>
                  <label class="am-radio-inline">
                    <input type="radio" name="diopter" value="1"> +
                  </label>
                  
                  <label class="am-form-label" style="margin-left:30px;">散光度：</label>
                  <label class="am-radio-inline">
                    <input type="radio" name="astigmatism" value="0" checked> -
                  </label>
                  <label class="am-radio-inline">
                    <input type="radio" name="astigmatism" value="1"> +
                  </label>
            </div>
            
        </div>
    </div>
</div>